package com.netx.ebs;
import com.netx.generics.basic.ErrorList;


class InitError {
	
	public final String message;
	public final Throwable exception;
	public final ErrorList errorList;

	private InitError(String message, Throwable exception, ErrorList errorList) {
		this.message = message;
		this.exception = exception;
		this.errorList = errorList;
	}
	
	public InitError(String message) {
		this(message, null, null);
	}

	public InitError(Throwable exception) {
		this(null, exception, null);
	}

	public InitError(ErrorList errorList) {
		this(null, null, errorList);
	}
}
